Repository navigation
FormDesign 0.91.0: the Windows engine ends with the app and opens no console, and a failed start says what happened - #11
Merged
Conversation
…ed counts as gone on macOS Ending a leftover engine waits until it is gone. On macOS a process that has ended and that its parent has not collected still answers a signal, and there is no /proc to tell it apart, so the wait ran out and the start was refused. Where there is no /proc, the wait now asks ps for the process's state and takes an ended one as gone. Linux and Windows are untouched. Carried by hand from FormCut's fix, with a test that points the start-up file at a /proc that does not exist. Not run on macOS.
…art says what the engine last wrote On Windows the engine is put in a job object, taken by its process id since the shell still starts it through the shell plugin, so it ends with the app however the app ends. A failed start now shows the engine's last lines, its exit code and the full path of its log in the dialog, before the last window closes. The wait for the engine's address is limited to 90 seconds; the wait for the window key stays at ten. windows-sys is named for Windows only and was already in the lock file. Checked in a scratch crate for Windows targets, with five tests for the plain functions; the shell itself was not compiled here.
Both freeze scripts now give PyInstaller --noconsole on Windows, so the engine opens no console window of its own; FORMDESIGN_ENGINE_WINDOWED=0 leaves it out. macOS and Linux builds are unchanged. The entry script already replaces missing output streams, so the self-check after freezing still runs. The address wait of 90 seconds came with the shell change before this one.
…dex, Cursor and Antigravity The panel's folder is copied unchanged from FormVis 23b01889. Its guide, for a computer that has Claude Code, now says that Codex, Cursor and Antigravity each get a button of their own when they are installed. The manifest check and the dock tests pass on the copy.
The pages now carry the current window, the shared panel 2.2.1 with its four agent programs, and the black theme. The recordings are unchanged. Each page was opened from file:// in headless Chromium: it drew and its console held no error.
Version 0.91.0 in the fourteen places it is kept, and the changelog entry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FormDesign 0.91.0: the Windows engine ends with the app and opens no console, and a failed start says what happened
FormDesign 0.90.0 could not be built on any system: one line of the desktop shell (
src-tauri/src/main.rs) did not compile, because it returned a value that borrowed a piece of text that was thrown away on the same line. This version rewrites that part of the shell (commit a3407d9): the text is kept under a name before it is searched. The shell of this version is type-checked for Windows before it is handed over, and the type check passed with no error and no warning.What a person now gets:
FORMDESIGN_ENGINE_WINDOWED=0at build time keeps the console for someone who wants it).Merge this pull request with a merge commit, so that each commit stays as it is.
Held
Not run
.batwas read, not run.cargo test --release --locked -p formdesign-engine: the core built, but its test build was still compiling at the stop time and was ended; nothing undernative/changed in this version but the version string.Checks rehearsed
npm ci --dry-run,npm audit --audit-level=low,npm run build(type check inside)npx tsc --noEmit -p ../demopython -m compileall -q app formdesign_engine.py,--selfcheckpython ../setup/agents.py sync --checkcargo build --release --locked -p formdesign-core./formdesign makeruns with the core and the font librarypython -m pytest tests -qwith the layout core and fonts, on the release commitcargo test --release --locked -p formdesign-enginewindow_rehearsal.sh formdesignwith the core andPREinstalling the font library, on the release commitcargo checkfor Windows msvc and gnu,cargo testcargo metadata --locked --offlineinsrc-taurisrc-tauri(x86_64-pc-windows-gnu,cargo check --locked) on the release commitbash -nloop,./formdesign mcpb check, em dash and emoji checkfile://in headless Chromium